package com.sheep.mbg.mapper;

import com.sheep.mbg.model.RbacRolePermissionRelation;
import com.sheep.mbg.model.RbacRolePermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RbacRolePermissionRelationMapper {
    long countByExample(RbacRolePermissionRelationExample example);

    int deleteByExample(RbacRolePermissionRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RbacRolePermissionRelation record);

    int insertSelective(RbacRolePermissionRelation record);

    List<RbacRolePermissionRelation> selectByExample(RbacRolePermissionRelationExample example);

    RbacRolePermissionRelation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RbacRolePermissionRelation record, @Param("example") RbacRolePermissionRelationExample example);

    int updateByExample(@Param("record") RbacRolePermissionRelation record, @Param("example") RbacRolePermissionRelationExample example);

    int updateByPrimaryKeySelective(RbacRolePermissionRelation record);

    int updateByPrimaryKey(RbacRolePermissionRelation record);
}